
package cn.edu.scau.cmi.chenzehan.hibernateframe;


import java.util.HashSet;
import java.util.Set;

import cn.edu.scau.cmi.chenzehan.hibernateframe.DAO.StudentDAO;
import cn.edu.scau.cmi.chenzehan.hibernateframe.DAO.TutorDAO;
import cn.edu.scau.cmi.chenzehan.hibernateframe.POJO.Student;
import cn.edu.scau.cmi.chenzehan.hibernateframe.POJO.Tutor;

public class Test {

	public static void main(String[] args) {
	
		try {
			StudentDAO s = new StudentDAO();
			TutorDAO  t = new TutorDAO();
			 Student student = new Student(1213048227,"zehan");
		   
		     s.save(student);
//		   

			
		} catch (Exception e) {
			e.printStackTrace();
		}
				

	}

}
